<template>
  <div class="hello">
    <button @click="fclick1">按钮1</button>
    <button @click="fclick2">按钮2</button>
  </div>
</template>
<script setup>
  import {API} from './unit2.js';
 function fclick1() {
    API.getmes1(11);
  }
  function fclick2() {
    API.getmes2(22);
  }
</script>
<style scoped>
</style>
